package com.opsbd.helloworld;

import android.app.Activity;
import android.os.Bundle;
import android.text.Html;
import android.widget.TextView;

public class HelloWorldActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
       
      //  Resources res = getResources();
       // String text = String.format(res.getString(R.string.app_name));
       // CharSequence styledText = Html.fromHtml(text);
        TextView foo = (TextView)findViewById(R.id.Txtfoo);
        //foo.setText(Html.fromHtml(getString(R.string.nice_html)));

        foo.setText(Html.fromHtml(getString(R.string.test)));
        
 /*       Intent i = new Intent(HelloWorldActivity.this, Settings.class);
        startActivity(i)*/;
    }
}